package com.lwkjgf.workplace.base;

import android.app.Application;
import android.util.Log;

import androidx.annotation.NonNull;

import com.blankj.utilcode.util.LogUtils;
import com.lwkjgf.workplace.utils.ExceptionHandler;


/**
 * Created by Administrator on 2021/6/3.
 */

public class App extends Application {
    public  static App app = null;
    public static int start = 1;

    @Override
    public void onCreate() {
        super.onCreate();


        app = this;


        ExceptionHandler.install(new ExceptionHandler.CustomExceptionHandler() {
            @Override
            public void handlerException(Thread thread, Throwable throwable) {
                LogUtils.file(throwable);
            }
        });
    }


}
